package com.fbms.common.exception;

/**
 * 自定义异常
 *
 * @author hll
 * @date 2018年5月25日
 */
public class SysBaseException extends RuntimeException {


    private String flag;

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public SysBaseException(String mess) {
        super(mess);
    }

    public SysBaseException(Exception ex) {
        super(ex.getMessage(), ex);
    }

    public SysBaseException(String message, Exception ex) {
        super(message, ex);
    }

    public SysBaseException(String flag, String message) {
        super(message);
        this.flag = flag;
    }

}